C:\to_server\website\mrdcl-learning.com\mrdcl_files\TAB-03\run3.stp
start data,
serial number in columns 1,2,3,
card numbers 1,(2) in column 4,
!
ds $region=$115/1-4,
x='North;
East;
South;
West',
xt='Region',
!
ds $age=$105/1-3,e,
v='Age\16-35 years old;
36-54 years old _this_ is a very long line now;
55+ years old;
Not stated',
h='Age\16-35;
36-54;
55+;
Not stated',
xt='Age',
ds $xq2a=$113/1-5,e,
dm $q2a=$xq2a/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 1',
ds $xq2b=$114/1-5,e,
dm $q2b=$xq2b/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 2',
ds $xq2c=$115/1-5,e,
dm $q2c=$xq2c/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 3',
ds $xq2d=$116/1-5,e,
dm $q2d=$xq2d/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 4',
ds $xq2e=$117/1-5,e,
dm $q2e=$xq2e/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 5',
ds $xq2f=$118/1-5,e,
dm $q2f=$xq2f/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 6',
ds $xq2g=$119/1-5,e,
dm $q2g=$xq2g/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 7',
ds $xq2h=$120/1-5,e,
dm $q2h=$xq2h/1..2,1-5,e,
v='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>',
h='Sub total - Agree;
Agree strongly (2)<v2>;
Quite strongly (1)<v1>;
Neither agree nor disagree (0)<v0>;
Disagree slightly (-1)<v-1>;
Disagree strongly (-2><v-2>;
Not stated<z>;
Mean score<d1><t=avg><r>',
xt='Q2 Agreement with statement : Rating 8',
!
finish data,
start tables,
f=uch,
t#1a=$q2a * $age,
t#1b=$q2b * $age,
t#1c=$q2c * $age,
t#1d=$q2d * $age,
t#1e=$q2e * $age,
t#1f=$q2f * $age,
t#1g=$q2g * $age,
t#1h=$q2h * $age,
ds $q2dum(8),
x='
Rating 1;
Rating 2;
Rating 3;
Rating 4;
Rating 5;
Rating 6;
Rating 7;
Rating 8
',
t#2(f=nitb/nptc)=$q2a * $q2dum,
vt='Q2 Rating scale : Summary',
t#2=$q2a * 1,
t#2=$q2b * 2,
t#2=$q2c * 3,
t#2=$q2d * 4,
t#2=$q2e * 5,
t#2=$q2f * 6,
t#2=$q2g * 7,
t#2=$q2h * 8,
!
t#3(f=npht/nitb/nptr/rth/nrtv)=$q2dum * $q2a,
vt='Q2 Rating scale : summary showing variables horizontally',
t#3=1 * $q2a,
t#3=2 * $q2b,
t#3=3 * $q2c,
t#3=4 * $q2d,
t#3=5 * $q2e,
t#3=6 * $q2f,
t#3=7 * $q2g,
t#3=8 * $q2h,
!
t#4(f=nitb/nptc)=$q2a * $q2dum,
vt='Q2 Rating scale : Summary',
finish tables,
start manip,
mt#4(c1)=#1a(c0),
mt#4(c2)=#1b(c0),
mt#4(c3)=#1c(c0),
mt#4(c4)=#1d(c0),
mt#4(c5)=#1e(c0),
mt#4(c6)=#1f(c0),
mt#4(c7)=#1g(c0),
mt#4(c8)=#1h(c0),
finish manip,
